package com.TeamJigsaw.DanteTrail;

import javax.swing.JFrame;

import com.TeamJigsaw.DanteTrail.Debug.Debug;
import com.TeamJigsaw.DanteTrail.Presenters.IntroviewController;
import com.TeamJigsaw.DanteTrail.Views.MainViewFrame;

/**
 * Represents the main game runner
 * @author Evan Compton
 *
 */
public class DanteTrailGame {
	private MainViewFrame mv;

	public static void main(String[] args) {
		DanteTrailGame game = new DanteTrailGame();
		game.start();
		
		Debug.CurrentLevel = Debug.M_TEN_DEMO;
	}
	
	public void start(){
		mv = new MainViewFrame();
		IntroviewController iv = new IntroviewController(mv);
		mv.setLocationRelativeTo(null);
	   
		mv.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
		mv.pack();
		mv.setVisible(true);
		
	}
	
	@Override
	public String toString(){
		return("This is the main game class");
	}

}
